﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace HCQ2_Model.VR.Params
{
    public class VRBaseParam
    {
        [Required(ErrorMessage = "userid：用户内部编码不能为空")]
        public string userid { get; set; }
        public int page { get; set; } = 1;
        public int rows { get; set; } = 10;
    }
    /// <summary>
    ///  合伙人申请列表
    /// </summary>
    public class FounderParam: VRBaseParam
    {
        /// <summary>
        ///  商铺ID
        ///  如果传了这个参数，则不需要用user_id去找用户的创始商铺
        /// </summary>
        public int folder_id { get; set; }
        /// <summary>
        ///  状态
        ///  -1：全部（默认）；0=待审核；1=已通过；2=未通过
        /// </summary>
        public int apply_status { get; set; }
        /// <summary>
        ///  经度
        /// </summary>
        public decimal gps_x { get; set; }
        /// <summary>
        ///  纬度
        /// </summary>
        public decimal gps_y { get; set; }
        /// <summary>
        ///  关键字模糊匹配：申请人、手机号
        /// </summary>
        public string keyword { get; set; }
        /// <summary>
        ///  排序方式：0=申请时间倒序（默认）；1=申请时间升序
        /// </summary>
        public int sortType { get; set; }
    }
}
